﻿<UserControl x:Class="Hisaab.Client.Modules.Core.Transaction.View.TransactionAddButton"
                  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:ribbon="clr-namespace:Fluent;assembly=Fluent"
                  xmlns:h="clr-namespace:Hisaab.Client.Common.Helpers;assembly=Hisaab.Client.Common" h:IndexHelper.Index="0">
    <ribbon:SplitButton Header="Add Transaction" LargeIcon="Pack://application:,,,/Hisaab.Client.Common;component/Resources/Images/32/TransactionAdd.png" Command="{Binding AddTransaction}">
        <ribbon:MenuItem Header="Expanse" Icon="Pack://application:,,,/Hisaab.Client.Common;component/Resources/Images/16/TransactionRed.png" Size="Middle" Command="{Binding AddExpanse}" ></ribbon:MenuItem>
        <ribbon:MenuItem Header="Income" Icon="Pack://application:,,,/Hisaab.Client.Common;component/Resources/Images/16/TransactionGreen.png" Size="Middle" Command="{Binding AddIncome}" ></ribbon:MenuItem>
        <ribbon:MenuItem Header="Transfer" Icon="Pack://application:,,,/Hisaab.Client.Common;component/Resources/Images/16/Transfer.png" Size="Middle" Command="{Binding AddTransfer}" ></ribbon:MenuItem>
    </ribbon:SplitButton>
</UserControl>